<div id="my_history">
  <div class="tab_wapper">
    <img src="/images/my_history_tab.gif" alt="我的购买历史"></img>
  </div>
  <ul class="hot_list" id="product_list">
    <% for product in buy_history  %>
      <li>
        <dl class="img_container">
          <%= render :partial =>'/products/product_flash',:object=>product,
            :locals=>{:flash_params=>"product_id=#{product.id}"}%>
        </dl>
        <dl class="rank_button_container">
          <dt class="detail_toolbar">
            <span class="yen"><%=product.price%></span>
          </dt>
          <dt class="detail_toolbar">
            <a href="/products/confirm/<%=product.id%>" title="购买">
              <img src="/images/minibuy.gif" alt="购买" />
            </a>
            <a href="/products/comment/<%=product.id%>" title="评论">
              <img src="/images/comments.gif" alt="评论" />
            </a>
          </dt>
        </dl>

      </li>
    <%                                                                                                                                                                                                                                                          end %>
  </ul>
</div>